package uk.co.cocking.getinline2.testhelpers;

import java.util.List;

import org.junit.Assert;

import uk.co.cocking.getinline2.record.Record;

public class CollectionChecker {
	
	public static void check(List<String> actual, String...expected) {
		Assert.assertArrayEquals(expected, actual.toArray(new String[0]));
	}

	public static void check(List<Record> actual, Record...expected) {
		Assert.assertArrayEquals(expected, actual.toArray(new Record[0]));
		
	}

}
